﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Abreu.Profile.ObjectClasses
{
    public class BusinessUnitProfile
    {
        #region Class Members
        private int? _precedentBusinessUnitId;
        private String _codeBusinessUnit;
        private String _nameBusinessUnit;
        private String _businessUnitDescription;
        private int _levelBusinessUnit;
        private Char _statusBusinessUnit;
        #endregion 

        #region Properties
        public int? PrecedentBusinessUnitId
        {
            get { return _precedentBusinessUnitId; }
            set { _precedentBusinessUnitId = value; }
        }

        public String CodeBusinessUnit
        {
            get { return _codeBusinessUnit; }
            set { _codeBusinessUnit = value; }
        }

        public String NameBusinessUnit
        {
            get { return _nameBusinessUnit; }
            set { _nameBusinessUnit = value; }
        }

        public String BusinessUnitDescription
        {
            get { return _businessUnitDescription; }
            set { _businessUnitDescription = value; }
        }

        public int LevelBusinessUnit
        {
            get { return _levelBusinessUnit; }
            set { _levelBusinessUnit = value; }
        }

        public Char StatusBusinessUnit
        {
            get { return _statusBusinessUnit; }
            set { _statusBusinessUnit = value; }
        } 
        #endregion

        #region Constructor
		public BusinessUnitProfile(int? precedentBusinessUnitId, String codeBusinessUnit, String nameBusinessUnit, String businessUnitDescription, int levelBusinessUnit,
                           Char statusBusinessUnit)
        {
            PrecedentBusinessUnitId = precedentBusinessUnitId;
            CodeBusinessUnit = codeBusinessUnit;
            NameBusinessUnit = nameBusinessUnit;
            BusinessUnitDescription = businessUnitDescription;
            LevelBusinessUnit = levelBusinessUnit;
            StatusBusinessUnit = statusBusinessUnit;
        } 
	    #endregion
    }
}
